package cn.yup.mapper;

import cn.yup.domain.Work;
import cn.yup.query.WorkQueryObject;

import java.util.List;

public interface WorkMapper {

    List<Work> findAll();

    int deleteById(Long id);

    void save(Work Work);

    Work findById(Long id);

    void updateById(Work Work);

    List<Work> selectAll();

    List<Work> selectByCondition(WorkQueryObject queryObject);
}
